export default [
  {
    path: '/',
    redirect: '/index'
  },
  {
    path: '/login',
    name: 'login',
    meta: {
      title: '登录',
      keepAlive: false
    },
    component: () => import('@/pages/login/index.vue')
  },
  {
    path: '/404',
    name: '404',
    meta: {
      title: '404',
      keepAlive: false
    },
    component: () => import('@/pages/error/index.vue')
  },
  {
    path: '/:pathMatch(.*)*',
    name: 'NotFound',
    redirect: '404'
  }
];
